<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

  <div id="app">


  </div>
  <!-- 引入React依赖 -->
  <script src="../React/react.development.js"></script>
  <script src="../React/react-dom.development.js"></script>
  <!-- <script src="../React/babel.min.js"></script> -->

  <script>
    // const message1 = <h2>Hello World</h2>
    const message2 = React.createElement("h2", null, "Hello World")

    ReactDOM.render(message2, document.getElementById("app"))
  </script>

</body>

</html>